package com.seetaface.pojo;

import com.cnsugar.ai.face.bean.Result;
import com.seetaface.model.FaceAntiSpoofingStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author SUN
 * @Description 人脸识别返回参数
 * @Data 2023/3/31 10:43
 */
@Data
@ApiModel("人脸识别返回参数")
public class FaceResultRequest {

    /**
     * 活体检测
     */
    @ApiModelProperty(value = "活体检测",notes = "0:真实人脸,1:攻击人脸（假人脸）,2:无法判断（人脸成像质量不好）,3:正在检测")
    FaceAntiSpoofingStatus status;

    /**
     * 人脸识别
     */
    @ApiModelProperty(value = "人脸识别",notes = "key:唯一标识，similar匹配度")
    private Result result;

    /**
     * 识别环境
     */
    @ApiModelProperty(value = "识别环境")
    private Boolean environment;

    /**
     * 人脸注册
     */
    @ApiModelProperty(value = "人脸注册")
    private Boolean register;
}
